from scrapy import cmdline
cmdline.execute('scrapy crawl z1'.split())